/*
 * @Author: suxingle suesle2022@163.com
 * @Date: 2022-07-31 19:39:23
 * @LastEditors: suxingle suesle2022@163.com
 * @LastEditTime: 2022-07-31 19:40:51
 * @FilePath: \myassessment\src\routes\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import List from '../../src/list/index.jsx';
import Search from '../../src/search/index.jsx';
 
const routes = [
    {
        path: '/',  //地址
        exact: true,  //精准匹配
        component: List //引入的组件名
    },
    {
        path: '/search',
        component: Search
    }
];
 
export default routes;